package com.jic.market.request.rest.discountamount;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author yinhaijun
 * @date: 2020/4/10
 */
@Data
public class DiscountAmountOrderCreateRequest extends DiscountAmountQueryRequest implements Serializable {
    private static final long serialVersionUID = 1925098038712283324L;

    @NotBlank(message = "订单号不能为空")
    @ApiModelProperty(notes = "订单号", required = true)
    private String orderNo;

    @NotNull(message = "创建时间不能为空")
    @ApiModelProperty(notes = "创建时间", required = true)
    private Date orderCreateTime;

}
